package com.wn.entity;


public class Chinese  implements Person {
    String name ;

    public Chinese(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "中国人{" +
                "name='" + name + '\'' +
                '}';
    }

    @Override
    public void eat() {
        System.out.println("我吃午饭");
    }


    public Chinese() {
    }

    public void setName(String name) {
        this.name = name;
    }
}